package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)" json:"Username"`
	Password string `gorm:"type:varchar(50)" json:"Password"`
}
type Soft struct {
	gorm.Model
	Title   string `gorm:"type:varchar(50)" json:"Title"`
	Content string `gorm:"type:varchar(50)" json:"Content"`
	Img     string `gorm:"type:varchar(255)" json:"Img"`
	Sign    string `gorm:"type:varchar(50)" json:"Sign"`
}
type Cate struct {
	gorm.Model
	Name string `gorm:"type:varchar(50)" json:"Name"`
}
type DownLoad struct {
	gorm.Model
	Times int `gorm:"type:int" json:"Times"`
}
